from django.db import models


# Create your models here.
class UserManager(models.Manager):
    pass


class User(models.Model):
    userName = models.CharField(max_length=15, verbose_name="用户名")
    password = models.CharField(max_length=15, verbose_name="密码")
    question = models.CharField(max_length=50, verbose_name="密保问题")
    answer = models.CharField(max_length=50, verbose_name="密保答案")
    user = UserManager()

    class Meta:
        db_table = "user"
